<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>

<script type="text/javascript">

let arr = [123,13,13,1,31,1,2,4];

console.log(  arr.filter(val=>{ return val> 2 } ) )	

console.log(  arr.find(val=>{ return val> 2 } ) )	


</script>

</body>
</html>